Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rendering images #135

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Add support for rendering images #135

merged 3 commits into from
Mar 5, 2024

Conversation

bloodearnest
Copy link
Member

No description provided.

This has two main benefits:
 - we can use `src=url` for iframes and img tags
 - the browser can cache these urls
This uses the contents urls added in previous commit to support
rendering images. It slightly formalises the concept of a display type,
and groups different files into a specific display type.

It also fixes the double scroll bars for the iframe, and a driveby table
style fix

Fixes #127
airlock/views/helpers.py Dismissed Show dismissed Hide dismissed
airlock/views/helpers.py Dismissed Show dismissed Hide dismissed
airlock/views/request.py Dismissed Show dismissed Hide dismissed
airlock/views/workspace.py Dismissed Show dismissed Hide dismissed
@bloodearnest bloodearnest merged commit 9bc369f into main Mar 5, 2024
8 checks passed
@bloodearnest bloodearnest deleted the images branch March 5, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants